package com.innovation.sys.common.dto;

import java.io.Serializable;

public class RelationForAccountDTO implements Serializable{

	private static final long serialVersionUID = 1L;
	
	private Integer accountId;       //客户id
	private String userName;         //客户姓名
	private Integer aId;             //客户角色id
	private String rName;		     //角色名称
	private Integer permissionId;    //权限id
	private Integer roleId; 		 //角色id
	private String menu;             //菜单
	private String permission;       //权限
	/**
	 * @return the accountId
	 */
	public Integer getAccountId() {
		return accountId;
	}
	/**
	 * @return the userName
	 */
	public String getUserName() {
		return userName;
	}
	/**
	 * @return the aId
	 */
	public Integer getaId() {
		return aId;
	}
	/**
	 * @return the rName
	 */
	public String getrName() {
		return rName;
	}
	/**
	 * @return the permissionId
	 */
	public Integer getPermissionId() {
		return permissionId;
	}
	/**
	 * @return the roleId
	 */
	public Integer getRoleId() {
		return roleId;
	}
	/**
	 * @return the menu
	 */
	public String getMenu() {
		return menu;
	}
	/**
	 * @return the permission
	 */
	public String getPermission() {
		return permission;
	}
	/**
	 * @param accountId the accountId to set
	 */
	public void setAccountId(Integer accountId) {
		this.accountId = accountId;
	}
	/**
	 * @param userName the userName to set
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}
	/**
	 * @param aId the aId to set
	 */
	public void setaId(Integer aId) {
		this.aId = aId;
	}
	/**
	 * @param rName the rName to set
	 */
	public void setrName(String rName) {
		this.rName = rName;
	}
	/**
	 * @param permissionId the permissionId to set
	 */
	public void setPermissionId(Integer permissionId) {
		this.permissionId = permissionId;
	}
	/**
	 * @param roleId the roleId to set
	 */
	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}
	/**
	 * @param menu the menu to set
	 */
	public void setMenu(String menu) {
		this.menu = menu;
	}
	/**
	 * @param permission the permission to set
	 */
	public void setPermission(String permission) {
		this.permission = permission;
	}
	/**
	* Title: toString
	* Description:
	* @return
	* @see java.lang.Object#toString()
	*/
	@Override
	public String toString() {
		return "{\"accountId\":\"" + accountId + "\",\"userName\":\"" + userName + "\",\"aId\":\"" + aId
				+ "\",\"rName\":\"" + rName + "\",\"permissionId\":\"" + permissionId + "\",\"roleId\":\"" + roleId
				+ "\",\"menu\":\"" + menu + "\",\"permission\":\"" + permission + "\"}";
	}
}
